/*
 * @Description: 
 * @Author: 黎志恒
 * @LastEditors: 黄勇
 * @Date: 2019-03-23 10:42:33
 * @LastEditTime: 2020-03-24 12:41:11
 */


const Mock = require('mockjs');

//Mock.mock('/rest/businessSquere', 'post', require('./json/businessSquere.json'));
//Mock.mock('/designCenter/app/searchApps', 'post', require('./json/appList.json'));

Mock.mock('/api/getUserList', 'post', require('./json/userList.json'));
Mock.mock('/api/getUserInfo', 'post', require('./json/userInfo.json'));
//检查应用是否存在
// Mock.mock('/designCenter/pkg/checkAppInstall', 'post', require('./json/app-check.json'));
// //上传文件
// Mock.mock('/designCenter/pkg/upload', 'post', require('./json/app-upload.json'));
// //下载文件
// Mock.mock('/designCenter/pkg/download', 'post', require('./json/app-download.json'));
// //获取应用导出-包类型列表(通过应用Id查询导出授权类型列表)
// Mock.mock('/designCenter/pkg/getAppValidate', 'post', require('./json/app-validate.json'));
// //获取云设计中心corpid
// Mock.mock('/designCenter/pkg/getDesignCenterCorpid', 'post', require('./json/app-designCenterId.json'));

Mock.mock(/getPutOnParams/, require('./json/getPutOnParams.json'));
Mock.mock(/getGoodsOptions/, require('./json/getGoodsOptions.json'));
Mock.mock(/searchGoods/, require('./json/searchGoods.json'));
Mock.mock(/getHelpCenterInfo/, require('./json/getHelpCenterInfo.json'));

Mock.mock(/searchTemplate/, require('./json/templates.json'));

